package com.engine4cloud.tdf.supervision.dto.update;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;

/**
 * 终端社区矫对象身份证信息-请求对象
 *
 * @author wenjie
 * @date 2024-07-19 11:20:26
 */
@Data
@Schema(description = "终端社区矫对象身份证信息-请求对象")
public class TerminalIdentityCardUpdateDTO implements Serializable {

    @Schema(description = "主键")
    private Long id;

    @Schema(description = "姓名", example = "张三")
    @NotBlank(message = "姓名不能为空")
    private String name;

    @Schema(description = "姓名", example = "男")
    @NotBlank(message = "性别不能为空")
    private String sex;

    @Schema(description = "民族", example = "汉")
    @NotBlank(message = "民族不能为空")
    private String nation;

    @Schema(description = "住址", example = "**省**市**县**镇**村**号")
    @NotBlank(message = "住址不能为空")
    private String address;

    @Schema(description = "身份证号", example = "610***************")
    @NotBlank(message = "民族不能为空")
    private String identity;

    @Schema(description = "签发机关", example = "***县公安局")
    @NotBlank(message = "签发机关不能为空")
    private String authority;

    @Schema(description = "有效期", example = "长期")
    @NotBlank(message = "有效期不能为空")
    private String period;
}
